//
//  BaseNetworkTool.m
//  FastRunning
//
//  Created by HUA on 2018/4/12.
//  Copyright © 2018年 HUA. All rights reserved.
//

#import "FRNetworkTool.h"
#import "FRUrls.h"
#import "FRHttpRequest.h"

@implementation FRNetworkTool

- (void)text:(NSMutableDictionary *)parameters
    progress:(void (^)(NSProgress *progres))progress
    success:(void (^)(NSURLSessionDataTask *successTask, id JSON))success
    failure:(void (^)(NSURLSessionDataTask *errorTask, id CallBackError))failure {
    [[FRHttpRequest shareHttpRequest] requestWithRequestType:FRHttpRequestTypePOST URLString:textUrl parameters:progress progress:progress success:success failure:failure];
}

@end
